projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ee9da
)
GtkSpinButton: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:56 +0000
(19:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:56 +0000
(19:39 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkspinbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinbutton.c
b/gtk/gtkspinbutton.c
index 38dd76b0db9343587c1227d0692c7248af9c736c..70119b57b0916c3f0769baddccd5030ff179a76f 100644
(file)
--- a/
gtk/gtkspinbutton.c
+++ b/
gtk/gtkspinbutton.c
@@
-700,6
+700,7
@@
gtk_spin_button_init (GtkSpinButton *spin_button)
context = gtk_widget_get_style_context (GTK_WIDGET (spin_button));
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SPINBUTTON);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (spin_button));
gtk_widget_add_events (GTK_WIDGET (spin_button), GDK_SCROLL_MASK);